<?php

namespace app\adminabc\controller;

use think\Controller;
use think\Request;

class Base extends Controller {
	public $admin_id = 0;
	function initialize() {
		// echo $this->request->module ();
		$ctl = $this->request->controller ();
		$act = $this->request->action ();
		if (session ( 'admin_id' ) > 0) {
			$this->admin_id = session ( 'admin_id' );
		} else
			$this->redirect ( 'Index/index' );
	}
}
